home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / bgft211.zip / BGFTDYQM.SCR < prev    next >
Text File  |  1991-05-02  |  4KB  |  73 lines

  1. ; BGFTDYQM.SCR: QMODEM script for BGFT Ymodem Batch Download.
  2. ; Copyright (c) 1991 Dirac Systems.
  3. ; Support Package for Registered users of BGFT (TM) BackGround File Transfer.
  4. ; QMODEM is a trademark of The Forbin Project Inc.
  5. ;
  6. ;     The following outlines how to install the script for use as an
  7. ; 'external protocol' in QMODEM. Actually, it shows how to use a Qmodem
  8. ; SCR script to do the Ymodem Batch file transfer in BGFT. See specific
  9. ; implementation details in the other SCR files for different protocols.
  10. ;     Be sure that the resident part (BGFT360K.COM or BGFT720K.COM) of
  11. ; BGFT is loaded before the communications program. Add /B if you want
  12. ; Drive B: for the file buffer. The BGFT status window does not need to
  13. ; be active; it need only be resident.
  14. ;       The batch file BGFTINIT.BAT is used to initialize BGFT prior to
  15. ; running QMODEM. This file must be edited to contain information about
  16. ; your modem's port number and baud rate prior to use (default is 1200
  17. ; baud, port 1). You must run the batch file BGFTINIT.BAT to make sure
  18. ; that BGFT is set up properly. THIS MUST BE DONE before using BGFT as
  19. ; an external protocol under QMODEM. This is true even though the baud
  20. ; and port are set here.
  21. ;       Change the port assigments in the line: 'ASSIGN 0 n'. Put the
  22. ; number 'n' to the communications port you want. Here it is '1'.
  23. ;       Change the baud rate assignment in the line: 'ASSIGN 1 n'.
  24. ; Put the number 'n' to an acceptable BGFT rate and the one used
  25. ; to do the file transfer from the remote host.
  26. ;    QMODEM 4.2E is compatible with this script. The QMODEM system
  27. ; variable '$SPEED' for the baud rate may be able to be used in the
  28. ; script when it works properly from QMODEM.
  29. ;     BGFTOPT.EXE should be in the \QMODEM directory or DOS path.
  30. ;     BGFTDYQM.SCR should be in the \QMODEM directory or QMODEM
  31. ; script directory.
  32. ;     Get the remote system ready to download the chosen files with
  33. ; Ymodem Batch.
  34. ;     From terminal mode in QMODEM hit 'Alt_F' to begin to set up the
  35. ; SCR file for running. Type in BGFTDYQM for the script name to be run.
  36. ; Enter nothing for parameters to the script.
  37. ;     BGFTDYQM.SCR will initiate the download using the baud rate and
  38. ; communication port defined in the script file. The 'SYSTEM X' command
  39. ; will exit QMODEM without hanging up; you will be at the DOS prompt.
  40. ; The files(s) will be transferred in the background so you can use
  41. ; your computer for other purposes while this takes place.
  42. ;     DO NOT RUN QMODEM FROM DOS OR YOU WILL GET THE TRANSMISSION
  43. ; ON THE SCREEN INSTEAD OF THE FILE BUFFER.
  44. ;     After the transfers are over you can use QMODEM in terminal
  45. ; mode.
  46. ;     Use BGFT.EXE to move your files to the desired DOS directory.
  47. ; Or BGFTOPT /3<Pathname>, may be used to dump downloaded; files from
  48. ; the file buffer to a specified directory.
  49. ;
  50. CLRSCR
  51. DISPLAYLN " "
  52. DISPLAYLN "  Copyright (c) 1991 Dirac Systems     \ /"
  53. DISPLAYLN "------------------------------------- - o -"
  54. DISPLAYLN "                                       / \"
  55. DISPLAYLN "BGFT Ymodem Download External Protocol"
  56. DISPLAYLN " "
  57. ASSIGN 0 1                      ; USER DEFINED COMM PORT.
  58. ASSIGN 1 1200                   ; USER DEFINED BAUD RATE (Qmodem $SPEED?).
  59. ASSIGN 2 "BGFTOPT /Q"           ; Quiet mode (don't print out results).
  60. ASSIGN 3 " /A"                  ; Acknowledge error, if any.
  61. ASSIGN 4 " /R"                  ; Reconnect COMM port.
  62. ASSIGN 5 "$2$3$4$0"             ; Concatenate the commands.
  63. ASSIGN 6 " /B"                  ; Set baud rate.
  64. ; Ymodem Batch sends the filename(s) to BGFT.
  65. ASSIGN 8 " /~"                  ; Set protocol.
  66. ASSIGN 9 "2"                    ; USER DEFINED PROTOCOL (Ymodem Batch Download).
  67. ASSIGN 2 " /S"                  ; Start file(s) transfer.
  68. ASSIGN 3 "$5$6$1$8$9$2"         ; DOS command.
  69. DISPLAYLN "$3"                  ; Show the command.
  70. DOS "$3"                        ; Run BGFTOPT.EXE with appropriate command.
  71. SYSTEM X                        ; Exit QMODEM without hanging up.
  72.  
  73.